[Python]String and integer concatenation
Posted
by michele
on Stack Overflow
See other posts from Stack Overflow
or by michele
Published on 2010-05-17T07:52:05Z
Indexed on
2010/05/17
8:00 UTC
Read the original article
Hit count: 327
Hi, I want to create string in a for.
# Create string0, string1 ..... string10
for i in range [1,10]:
string="string"+i
But I have returned an error because i is not a string but integer.
How I can do it?
Thanks.
© Stack Overflow or respective owner